package controllers

import (
	"net/http"
)

type PageStart struct {
	Application
}

func init() {
	App.RegisterController("start/", PageStart{})
}

func (p *PageStart) Index(rw http.ResponseWriter, req *http.Request) {
	p.Document.Title = "Start Study"
}

func (p *PageStart) Test(rw http.ResponseWriter, req *http.Request) {
	p.Document.Title = "Own test"
}

func (p *PageStart) Indexdb(rw http.ResponseWriter, req *http.Request) {
	p.Document.Title = "Test IndexedDB"
}
